{% extends "vuln_view.html" %}
{% block vulnerability_content %}
  {% set vuln_id = vulnerability_details.id %}
  {% set vuln_view = vulnerability_details.vulnerability_view %}
  {% set master_commit = vuln_view.master_commit %}
  {% if master_commit %}
    <div class="row">
        <div class="col-md-2 offset-md-1">
          <div class="card box-shadow">
            <div class="card-body d-flex flex-column align-items-start">
              {% include 'editor/file_tree.html' %}
            </div>
          </div>
        </div>

        <div class="col-md-6">
          <div class="card flex-md-row mb-4 box-shadow h-md-250 h-100">
            <div class="card-body d-flex flex-column align-items-start h-100">
              {% include 'editor/editor_container.html' %}
            </div>
          </div>
        </div>

        <div class="col-md-2">
          <div class="card flex-md-row mb-4 box-shadow h-md-250" style="overflow: auto">
            <div class="card-body d-flex flex-column align-items-start">
              {% include 'editor/metadata_view.html' %}
            </div>
          </div>
        </div>
    </div>
  {% endif %}
{% endblock %}
